<script>
import HelloWorld from '../HelloWorld'
export default {
	name: 'MySearch',
	components: {
		HelloWorld
	},
	props: {
		haha: {
			type: String,
			default() {
				return '哈哈'
			}
		}
	},
  render() {
		console.log(this)
    const t = () => this.$slots.default.map(item => {
			return (
				<li>
					{item}
					<HelloWorld msg={this.haha} />
				</li>
			)
		})
		return (
			<ul>{t()}</ul>
		)
  }
}
</script>
